#ifndef PLAYER_H
#define PLAYER_H

#include <QString>
#include <QList>
#include <item.h>

class Player
{
    public:
        Player(QString newUsername, int newDifficulty, QString newCurMap, int newPosX, int newPosY, int newDirection, QList<Item*> *newInventory);
        ~Player();

        enum difficulties {Easy, Medium, Hard};
        enum directions {North, East, South, West};

        QString getUsername();
        int getDifficulty();
        QString getCurMap();
        int getPosX();
        int getPosY();
        int getDirection();
        QList<Item*>* getInventory();
        void setCurMap(QString newCurMap);
        void setPosX(int newPosX);
        void setPosY(int newPosY);
        void setDirection(int newDirection);

    private:
        QString username;
        int difficulty;
        QString curMap;
        int posX, posY;
        int direction;
        QList<Item*> *inventory;
};

#endif // PLAYER_H
